/**
 * Candidate number: 35834
 */
package tv.starfu.components;

import com.artemis.Component;
import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;

/**
 * Store current position and rotation
 * @author nia radical
 */
public class Transform extends Component {

    private Vector3f     direction;
    private Vector3f     position;
    private Vector3f     up;
    private float        rotation;

    
    public Transform(Vector3f position, Vector3f direction) {
       this.position    = position;
       this.direction   = direction;
    }
    
    public Transform(Vector3f position) {
       this.position    = position;
    }

    public Transform() {
        position    = new Vector3f();
        direction   = new Vector3f();
    }

    public Vector3f getDirection() {
        return direction;
    }

    public void setDirection(Vector3f direction) {
        this.direction = direction;
    }

    public Vector3f getPosition() {
        return position;
    }

    public void setPosition(Vector3f position) {
        this.position = position;
    }

    public float getRotation() {
        return rotation;
    }

    public void setRotation(float rotation) {
        this.rotation = rotation;
    }

    public Vector3f getUp() {
        return up;
    }

    public void setUp(Vector3f up) {
        this.up = up;
    }
    
    
    
}
